#include <stdio.h>
#include <stdlib.h>

template<class T>
bool checkArray(T* data1, T* data2, const unsigned long n) {
	bool isPass = true;
	for(unsigned long i = 0; i < n; i++) {
		if(data1[i] != data2[i]) {
			isPass = false;
			break;
		}
	}
	return isPass;
}

